package QC.MessageBox.beans;

import QC.MessageBox.annotation.APPTable;

/**
 * Created by Andaren on 2017/5/18.
 * Used for:
 */
@APPTable(table = "t_token")
public class WXAccessToken {

    @APPTable(column = "id", isId = true)
    private Long id;

    @APPTable(column = "token")
    private String token;

    @APPTable(column = "updatetime")
    private String updateTime;

    public Long getId() {
        return id;
    }

    public WXAccessToken setId(Long id) {
        this.id = id;
        return this;
    }

    public String getToken() {
        return token;
    }

    public WXAccessToken setToken(String token) {
        this.token = token;
        return this;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public WXAccessToken setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("WXAccessToken{");
        sb.append("id=").append(id);
        sb.append(", token='").append(token).append('\'');
        sb.append(", updateTime='").append(updateTime).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
